//
//  JZDynamicOperationView.h
//  QuanZiChat
//
//  Created by 张洪林 on 15/11/28.
//  Copyright © 2015年 ZhongHongLin. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef enum : NSUInteger{
    MCAlbumOperationTypeLike=0,
    MCAlbumOperationTypeReply
}MCAlbumOperationType;

static CGFloat kLZAlbumOperationViewWidth=120;
static CGFloat kLZAlbumOperationViewHeight=34;

@class JZDynamicOperationView;


@protocol MCAlbumOperationViewDelegate <NSObject>

@optional

-(void)albumOperationView:(JZDynamicOperationView*)albumOperationView didClickOfType:(MCAlbumOperationType)operationType;

@end

@interface JZDynamicOperationView : UIView
@property (nonatomic,strong) id<MCAlbumOperationViewDelegate> albumOperationViewDelegate;

@property (nonatomic,assign) BOOL shouldShowed;

+(instancetype)initialOperationView;

-(void)showAtView:(UIView*)containerView rect:(CGRect)targetRect;

-(void)dismiss;
@end
